package com.xucia.jsponic.data;

import java.util.List;

public class Transaction { //TODO: maybe extends javax.transaction.Transaction
	public class Change {
		Persistable target;
		Object key;
	}
	List<Change> changes; 
	//public void doActionInTransaction(TransactionalAction action);
	public void commit() {
		
	}
	public static final Transaction OUTSIDE = new Transaction();
	public static Transaction currentTransaction() {
		
	}
}
